<?php

namespace Home\Model;
use Think\Model;
class WeixinNoticeLogModel extends BaseModel{
    
    //微信log表
    protected $tableName = 'tp_weixin_notice_log';
    
    /**
     * @desc 获取微信发送状态
     * @author quyang
     * @update 2016-11-29
     */
    public function getStatus($where){
        $map = array('f_package_code'=>$where);
        $data = $this->where($map)->find();
        if ($map == false){
            return false;
        }
        return $map['f_send_status'];
    }
}